

<%@ page import="com.na.onlineservey.AnsweringType" %>
<form name='gFormAnsweringType' id='gFormAnsweringType'>
  <g:hiddenField name="id" value="${answeringTypeInstance?.id}" />
  <g:hiddenField name="version" value="${answeringTypeInstance?.version}" />
  <div id="remote-content-answeringTypeInstance"></div>
  <fieldset  class="ui-state-default ui-corner-all">
    <legend class="ui-jqgrid-titlebar ui-widget-header  ui-helper-clearfix">Create AnsweringType</legend>
     <table>
      

            <tr>
              <td><g:message code="answeringType.code.label" default="Code" /></td>
                <td><g:textField name="code" value="${fieldValue(bean: answeringTypeInstance, field: 'code')}" />
</td>
            </tr>
          

            <tr>
              <td><g:message code="answeringType.name.label" default="Name" /></td>
                <td><g:textField name="name" value="${fieldValue(bean: answeringTypeInstance, field: 'name')}" />
</td>
            </tr>
          
         </table>
  </fieldset>
  <br/>
  <div class="buttons">
    <span class="button"><input type="button" name="create-button" id="create-button" class="ui-button ui-widget ui-state-default ui-corner-all" value="${message(code: 'default.button.create.label', default: 'Create')}" onclick="executeAjaxAnsweringType();"/></span>
    <span class="button"><input type='button' name="delete-button" id="delete-button" class="ui-button ui-widget ui-state-default ui-corner-all" value='Delete' onclick="deleteAjaxAnsweringType();"/></span>
    <span class="button"><input type="button" name="cancel-button" id="cancel-button" class="ui-button ui-widget ui-state-default ui-corner-all" onclick=" reset_form('#gFormAnsweringType');" value="Cancel"/></span>
  </div>
</form>
